copy the current master of the header-only rapidjson
use JSON to encode the directory listings