Decode responses to the correct type

No match.