Jabber::BoshSession : Modified to_json method