initial work for json output