Fix emitting yaml-like arrays