convertToJson
utility for rendering dataframe as interactive table in the debugger - it needs json model Java class easier to discover in the debugger DO NOT BREAK ABI OF THIS METHOD!! Keep it for backward compatibility, create a new method if signature must change