add pry to gemfile to aid debugging
fix for ruby 2.0+ respond_to? changes
nil is now encoded as <blah nil="true"/>