adding customized graph json output format