Try to call to_json when rendering json data
Set default options