examples of trevni serialization and integration with mapreduce