Create JSON serialization and deserialization methods for the
SearchField subclasses