ObjectSerializer must be non final