readme.md: add a note about migration
test.hs: add serializeTree example