Add example for processing command response containing events