@nikatlas : Thank you for the code! Exactly what I was looking for.
Do you know (or anyone else reading this) what should I add to be able to work with relations? Example:
{
“id”: 1337,
"name: “leet”,
"tags: [1,3]
}
I guess I need to add somewhere {withRelated: [‘tags’]}, but can’t figure it out where.