edit json output with state of all file