Properly handle typedefs in action/dict type validation
Bump version to 0.8.21