Merge pull request #379 from subvertallchris/master

better first/last syntax
Merge pull request #381 from subvertallchris/master

support for serialization of properties