introduce serializeHasMany override to fix hasMany bug
belongsTo is back, serialization override