Add convenience method to Json struct to output pretty strings

added convenience method to Json struct to output pretty strings and also added level (default == 0) parameter to "toPrettyJson()" overload