json is required for the json functions to work

The to_json and json_create methods both require the json gem to work.