do a bit better parsing of TWAObject