Added a JSON object generator