Beans for outgoing data:
Events are loaded into an EsbEvents bean which contains a single array of events. At the moment (1.6) ony one event will be loaded into this array, but we want to allow for multiple events in the future.
Each event is loaded into a simple EsbEvent bean which will end up contaning property values where a value exists for an event. When the class is written as JSON, null values are simply ingnored with the resulting string only containing properties with values assigned. Each of these properties can be used in an expression language filter.