Fix serialization of hasOne and hasMany relationships for different JSON naming scenario.
Merge pull request #14 from DenHeadless/master

Fix serialization of hasOne and hasMany relationships for different JSON naming