As relationship fields in js-data are not enumerable we must instead enumerate the relationships and try to retrieve them from the object.