[WIP] Sort api responses. Links, then id/attributes and inner links

We don't follow much this convention so far, but that sounds like good practices. :+1: