damm, my fault on this line https://github.com/SUSE/connect/pull/95/files#diff-7b6ffbe47ab170dd1f65bfac583cc294R38 should be to_s. otherwise it do just simple `to_h` which provide Struct.