Seems like you have to handle that yourself. The serialized data includes the type, so your app code might have to have logic a la “if type1: … else: …” after parsing it.
OK, so it's one of the more flexible ones (like those binary jsons) rather than something like protobuf. I guess that should have been obvious from "self-describing".