Basic Java version of the benchmark using Jackson