adding check for attributes object
Merge branch 'master' of github.com:CSTARS/ckanext-esis