Change json utility functions to use json-inline.h.