cjson.safe is not available in openresty :(