fix formatting of empty lists/objects when converted to json
v2.0.1