REST API: retrieve id only ids of relations

@jakubm @matepaiva I think here is the related feature request: Add option to populate only an array of IDs for relations (and maybe others) | Developer Experience | Strapi.
Please vote for it and add your suggestions.