make sure that array values are decoded