Benchmarks: Fix REST tests

Properly format numeric values in JSON output to be consistent floating
point format.