fix json adapter bug and add benchmarks