Corrected initialization of graphite client
Formatting graphite data as thrift format