Adding domainMetadata and jobMetadata entities and corresponding changes