Testing Mason reader. Adding support for deserializing into typed classes inheriting from Resource.