Make pretty printing optional and disable it by default