added toJSON for GombotClient