I was learning how to use CloudEvents functions from the documentation
example and tried rewriting it as an ES module. However, the program
couldn’t properly read the event object. It only returned event.id,
while the rest of the information, especia...