Added jsonEscapeString function

Added function to sanitize all strings and escape special characters to
follow json standard