Added dirPath to the JSON