Converting the values of a dataset to a JSON string in WebDev

You can put your own custom python into the WebDev module. You will want to return from the python resource a dictionary in the following format:

return {"json": <JSON String>}

You can make your own script for the Dataset to Json conversion or I found the following forum post with a solution.