rewriting json2yaml