prettyprinting fix for Pkg with hasBraces = true