A JSON patch generator in Ruby