Updated format spec.
Added JSON performance tests.