statements API - inheritance deserialization working even without typeid property