changing XML-like project file to JSON-like