changed the argument type of JsonParserAgent.

const char * ->
const string &

The arugment (const string &) can accept many type of string
such as const char *, char *, string, string &, const string &.
So this is more convinient than the previous.