Rename folder in accordance with json