Replace all dots with pipes in key names, mongo doesn't like to store keys with dots.

        :param dict patch: The patch that needs to be made storeable and applied in the future

def __make_patch_storeable(self, patch):
        """Replace all dots with pipes in key names, mongo doesn't like to store keys with dots.

        :param dict patch: The patch that needs to be made storeable and applied in the future
        """
        new_patch = {}
        for key in patch:
            new_patch[key.replace(".", "|")] = patch[key]

        return new_patch