Index: binary-improvements/7dtd-server-fixes/src/JSON/JSONArray.cs
===================================================================
--- binary-improvements/7dtd-server-fixes/src/JSON/JSONArray.cs	(revision 312)
+++ binary-improvements/7dtd-server-fixes/src/JSON/JSONArray.cs	(revision 315)
@@ -36,5 +36,5 @@
 					stringBuilder.Append ('\n');
 			}
-			if (stringBuilder.Length > 1)
+			if (nodes.Count > 0)
 				stringBuilder.Remove (stringBuilder.Length - (prettyPrint ? 2 : 1), 1);
 			if (prettyPrint)
Index: binary-improvements/7dtd-server-fixes/src/JSON/JSONObject.cs
===================================================================
--- binary-improvements/7dtd-server-fixes/src/JSON/JSONObject.cs	(revision 312)
+++ binary-improvements/7dtd-server-fixes/src/JSON/JSONObject.cs	(revision 315)
@@ -48,5 +48,5 @@
 					stringBuilder.Append ('\n');
 			}
-			if (stringBuilder.Length > 1)
+			if (nodes.Count > 0)
 				stringBuilder.Remove (stringBuilder.Length - (prettyPrint ? 2 : 1), 1);
 			if (prettyPrint)
