code: def _loadMetaFromJson(self, path):
          
          try:
              with (path / 'metadata.json').open() as infile:
                  return json.load(infile)
          except FileNotFoundError:
              logger.error('Metadata does not exist at ' + str(path))
              return None
docs: Reads the json meta into memory.
          :return: the meta.