spj_jsonvalue_enumerate and spj_jsonvalue_enumerate_reverse