[enhancement] Modified deserializer for type safe extensions

As developed together