Enable the overwriting of files when moving form the temp directory
Changes made when constructing the json string. taskId is now cast into an int and the object is no longer contained in a list