Sample code for converting jmap output to Graphite format