custom json output possible?

I have a 3rd party jQuery plugin that allows for json input but requires a specific format structure. Is it possible in 2sxc to tell how to output the json or would i need to get the json output and then convert myself with js function before passing it to
the plugin?

You could do this by creating an own WebAPI. But in general I would recommend that you do this transformation in JavaScript - it's usually much easier to develop and debug and improvise. So I recommend that