Currently related objects are serialized like
[{
"id": 1,
"value": "foo"
}]
In some cases though it might be useful if the whole related object could be serialized (if requested e.g. via additional URL-param), maybe something like
[{
"id": 1,
"value": "foo",
"data": {
"key1": "value1",
"key2": "value2",
"key3": [
{
"id": 1,
"value": "foo"
}
]
}
}]