Flo's Pull Request

@florrain @12and1studio @mrocco64 - I'm creating this pull request so we can collaborate/review the code.
Again the .to_hash is written on each object to keep the same logic. Sometimes the json generated by `.to_json` is not compliant to its Api representation like in RecordData : `{'fieldNames' => fieldNames, 'records' => {'fieldValues' => fieldValues } }`

But I guess if we just use .to_json and override it when necessary it would make it lighter right ?