Change to JSON dump in the consumer