You can use the embedded mixin and say
```
attrs: {someRelationship: {serialize: 'ids'}}
```