Added an option 'enable_json'