support hashes in resource attributes