updated Object type assertion to support async validation