Add custome deserializer to cope with 3.0 and 4.0 style aliases