Replace all pipes with dots, transform back into the a namespace path.
        This is done before the $set query is applied to the document

        :param dict patch: The patch that is to be prepared to be applied

def __make_storeable_patch_patchable(self, patch):
        """Replace all pipes with dots, transform back into the a namespace path.
        This is done before the $set query is applied to the document

        :param dict patch: The patch that is to be prepared to be applied
        """

        new_patch = {}
        for key in patch:
            new_patch[key.replace("|", ".")] = patch[key]

        return new_patch