Refactored task response to use generic multiplexer

Signed-off-by: Tom Wright <tom@inflatablecookie.com>