Fix iteration of objects in formatted output to properly iterate through
all keys
Improve spacing between maps/arrays in formatted layouts