Add assertion for expected data hash when updating a record
Serialize id of belongsTo relationship via serializeId