fix json gem issue #163

Fixing issue #163 - also since we're still supporting Ruby 1.8.7 i've changed our dependency on the mime-type gem to `~> 1.2.5`.  Recently mine-types 2.0 was released which requires >= Ruby 1.9.3.