Update examples
Fix bug with serializing None