Parse the JSON, find its name, return a slug of its name

def _slugify_internal_collection_name(self, json_repr):
        """Parse the JSON, find its name, return a slug of its name"""
        collection = self._coerce_json_to_collection(json_repr)
        if collection is None:
            return None
        internal_name = collection['name']
        return slugify(internal_name)