repair function syncs the files between ROOT and Jio documents and add meta data required by officejs