Move json require to spec_helper