Now models can be converted to json using their "to_json" method