Improve leptus_json to work with same term when using jiffy