Update activesupport/lib/active_support/json/backends/okjson.rb

Okjson not parsing "'" (single quote character). Writing a method and adding conditions for the same