adjusted json2ganglia script for new metrics