improved jsonapi usage