builder: allow pretty printing and optional escaping / (slash)