Improved output of variables
Added handling of optional context variable "type"
LoggerAwareExample added