Ensure that multiple blocks of same type chained to each other work

Currently this produces YAML like this which seems to ignore the first block:

blocks:
  interpolation:
    ...
  interpolation:
    ...

Instead, one could aim for:

blocks:
  -
    type: interpolation
    ...
  -
    type: interpolation
    ...