Fixed Clang warning

Fixed the following warning:

src/DagGenerator.cpp:472:24: warning: C++11 requires lambda with omitted result type to consist of a single return statement
      [-Wlambda-extensions]
      auto write_kws = [array_seg, str_seg](const JsonArrayValue* array, bool follow)
                                ^