Updating: improving contrib/json-c: adding some convenience functions.