add loads_function hook to JSONParser
add dumps_function hook to JSONRenderer