Define custom variables from Nagios object in event JSON