libjansson has the same API restrictions as json-c