Add fields and show serialization with optional fields