Changed puppetdb_query return, now an array of hash is returned