Implement ObjectSerializer