JSONAPI throws that back on the client - if you need some related data, you have ask for it. (And then do the join by ID locally.)

/