Quick fix : push key in actions array if value is not in array format