MetaData - some refactoring
MetaData - some more reactoring + jobs encode/decode
MetaData - tests for jobs metadata
MetaData - jobs - change decode_jobs to return list