Rename result => type in responses element