Change from array to scalar in data bag