Updated SerializationExample to demonstrate the new JSONSerialization method