rapidjson_with_exception.h - use exceptions to indicate parse errors