Add dump function
Surround multiline dict values with newlines
Split out separate function for joining with newline spacing
Use more newline spacing for lists
Remove unused function