Convert JSON into a in memory file storage.

        Args:
            data (str): valid JSON with path and filenames and
                        the base64 encoding of the file content.

        Returns:
            InMemoryFiles: in memory file storage

def from_json(data):
        """
        Convert JSON into a in memory file storage.

        Args:
            data (str): valid JSON with path and filenames and
                        the base64 encoding of the file content.

        Returns:
            InMemoryFiles: in memory file storage
        """
        memfiles = InMemoryFiles()
        memfiles.files = json.loads(data)
        return memfiles