CXX-224 print top level JSON arrays correctly