javascript hackery for loading linked JSONAPI data