reformat token response