start modifying to work with jsonapi compliance