Add an input value escape methods to Utils

The problem is that as this is JSON, double quotes are present. They need to be
escaped, along with a few other characters.

Escape the following: '"', '&', '<'. This seems to be enough.