Add ability to define JSON indent, default to 2
Doc