support hashes in resource attributes
Merge pull request #20 from asquelt/master

support hashes in resource attributes