Hook that allows for different output formats. The core Pengines
library supports prolog and various JSON dialects. The hook
event_to_json/3 can be used to refine the JSON dialects. This
hook must be used if a completely different output format is
desired.