Adding callback name to response

Instead of the callbacks I sometimes want to handle the response by
way of a case statement.