used in json-jwt gem tests