Release OSSRH and push to GitHub automatically
Consider a null in tree content to be equivalent to an empty list
Refactored: avoid duplicate null check
Check that only allowed types are put into a tree