jsondump function in RobotImpl now outputs json string instead of dict