expecting 5.48
using accepted feature request encode_json_text