Adding linked dependancy to Slim JSON API