override addHasMany of JSONSerializer to include an array of ids when serializing a non-embedded has-many relationship. The default ember-data assumption is that the update of the relationship would take place in the other model, causing the JSONSerializer to not include the array of ids.

This modification preserves the behavior when embedded=always, but now includes the array of ids.