public static void WriteJsonCommand(this TextWriter writer, CommandPacket commandPacket) { writer.WriteJsonCommand(commandPacket, Environment.NewLine); }