<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_item_metadata(self, eitem):
 """ In the projects.json file, inside each project, there is a field called "meta" which has a dictionary with fields to be added to the enriched items for this project. This fields must be added with the prefix cm_ (custom metadata). This method fetch the metadata fields for the project in which the eitem is included. :param eitem: enriched item to search metadata for :return: a dictionary with the metadata fields """


        eitem_metadata = {}

        # Get the project entry for the item, which includes the metadata
        project = self.find_item_project(eitem)

        if project and 'meta' in self.json_projects[project]:
            meta_fields = self.json_projects[project]['meta']
            if isinstance(meta_fields, dict):
                eitem_metadata = {CUSTOM_META_PREFIX + "_" + field: value for field, value in meta_fields.items()}

        return eitem_metadata