proper benchmark
static factory to get json