add more fields to print_tree

This adds some more fields to `print_tree`, which can be very useful when detailing information about mlses. `Required` is particularly useful, as it's hard to tell which fields are needed to do a query without that field being printed.