Json doesn't require forward slash to be escaped.
Inlined a funciton. Removed unnecessary constructor. const char * automatically gets constructed as a string