Fixed problem where empty objects {} resulted in [object Object] values. Empty objects are now omitted from the output.