no json_decref here, and add a return.