My approach would be to just receive whatever comes in, then parse it later.