Added constructor to JsonWriter for initial capacity