[GrimoireUtils] Add function to convert to array the values from ExecuteQuery if needed.