This seems to be very interesting to me. I'm thinking about writing another rest GP service myself, which can take a string parameter and create a bunch of gemetries as Json object. (The reason for that is I'm creating some spatial elements on the fly with users' request)
But it's very difficult even to find a place to start... Should I write a python script which can return a Json object and then publish that script as a service?
If anyone can give me a hint on where to start, it would be much appreciated!!!