query: Fix array references on entities without _links.
query: Fix array references on entities without _links.

Array references were not loaded on entities that didn't contain _links.

matobet/doctor-rest