Do not add new line on empty array/object

Closes #76