DisplayHelper#pretty_format fix indentation, remove nested if/else from case statement