code: def _path_to_baton_json(self, path: str) -> Dict:
          
          entity = self._create_entity_with_path(path)
          return self._entity_to_baton_json(entity)
docs: Converts a path to the type of iRODS entity the mapper deals with, to its JSON representation.
          :param path: the path to convert
          :return: the JSON representation of the path