Avoiding a problem with the json_pure gem