fix polymorphic types coming back as resource
Merge pull request #114 from matthewfl/no-general-resource

fix polymorphic types coming back as resource