Allow escapeString in folly/json.cpp to be called by other methods.