Assert obj doesn't have unexpected fields