Format a JSON value, indenting by `n` spaces per nesting level. @curr The current indentation amount, measured in spaces. @n The amount of spaces to indent per nesting level.