CORE-6017 Added metadactyl batch configs and validation.
CORE-6019 Updated saved submission JSON for batch jobs.

Each job in a batch now stores its own submission JSON, which allows the services and client to retrieve the actual parameters used in each job submission.
Refactored anonymous function (which transforms the path-list map into key-value pair lists) into a named function for clarity.