Encode pages in UTF-8 before doing any parsing and JSON encoding.
Support giving a custom hostname for the benchmarks.