keypath perf tests
use separate escape/non-escape toString functions for fragments - easier for browsers to optimise