Add to_json method for JobSearch::Criteria.
Add to_json method for JobUp::Configuration.