Provide interface for calls in JSON and some other formatting changes.

2 seems like a guess. Is this a consistent use-case? Why not reserve double?