bugfix: embedded kitCommands can also return a JSON response which was not handled