def METHOD_NAME(self, op: LogImages) -> dict:
    return {
        "entries": [
            {
                "value": {
                    "data": value.value.data,
                    "name": value.value.name,
                    "description": value.value.description,
                },
                "step": value.step,
                "timestampMilliseconds": int(value.ts * 1000),
            }
            for value in op.values
        ]
    }