Benchmarks: Fix REST tests

Properly format numeric values in JSON output to be consistent floating
point format.
Merge pull request #6998 from aleph-zero/feature/benchmark

Benchmarks: Fix REST tests