Rename sample.php to example.php
Add a serialization example