#2317193 | Port "Add an item to a list" action to D8

Initial port
Ugh, sorry that paste didn't work out well. Key point:

-      foreach ($data as $i => $value) {
+      foreach (array_values($data) as $i => $value) {