stash token_type into query params, but pull it off before passing it to the api
copy wrapper and collection from action_kit_rest
handle first level nesting of EA xml