Hack to allow using hash of attributes in either chef 10 or 11