Fixes json marshaller "hasMany" properties