Now the Model.to_json method receives the same args as python json.dump