Added to_json method for sites

also includes rspec for sites and additions to Gemfile