When sending the models as JSON to the client, put the attributes to underscore. And the other way around put the attributes to camelCase before saving to the database.
Must still find a way to do the same thing for the relationNames.