Updated to set the ident variable in main, then pass to other functions
Added explanation of JSONPP_INDENT environment variable