convert value of request paramters to string

The 'parameter' member of a request is of type map<string, string> in
elastic thrift definition. If we don't do this, an error will occur
when a request with a non-string valued parameter is serialized by thrift.
add "encoder" option to highlight