IMCDefinition.dumpPayload() now returns a String instead of writing to
console.