Fix bug where arrays with dict displayed wrong

When you have an OrderedDict with an array in it that contains dictionaries.
pyaml would display this as eg.
items:
  -
  key1: val1
  key2: val2

This is clearly wrong and doesn't parse when loaded again with yaml.