Close #1492 - Serialize hasMany when not embedded.

When `embedded: 'always'` AMS embeds records properly. Otherwise it
skips the dependencies altogether. This commit makes AMS fall back to
the default RESTSerializer and serialize records to an array of their
IDs.