Enhance JSON handling and file associations in settings; refactor ProcessData classes for improved serialization and error handling