Adds strictness to fields in tree data type