Made REST output indenting optional