Removed the rails-patch-json-encode gem for rails 4.0.x.