Add parameter to allow customization of indentation

The indentation is hard coded as a tab ("\t") character, which is not
always desirable. The prettify method should have a parameter that
allows the caller to pass the indentation string to be used.
Add parameter with default value so any existing code is not broken.