game_tree. Fix an object writing.

Write object end token.
Change Root object start token to root object constant.
game_tree. Change to child content writing.

Only write renders, audio source, data, and children if their number is greater than 0.