extract the "typeKey" into a property