docs: def get_metadata(self, handle):
          """
          Returns the associated metadata info for the given handle, the metadata
          file must exist (``handle + '.metadata'``). If the given handle has an
          ``.xz`` extension, it will get removed when calculating the handle
          metadata path
  
          Args:
              handle (str): Path to the template to get the metadata from
  
          Returns:
              dict: Metadata for the given handle
          """
          response = self.open_url(url=handle, suffix='.metadata')
          try:
              return json.load(response)
          finally:
              response.close()