creating test json token encode/decode enpoints