Improved formatting of nested list