BUG: Custom decorators produce bad JSON

This is a bug in the inbuilt JSON translator in the API. The translator produces malformed JSON due to malformed template. Each decorator object needs to be placed in curly brackets, and those are missing from the inbuilt template.

Code has been added to fix the issue.


Back