[Cookbook] Remove deprectated call to PropertyPath

Using the new component PropertyAccess #2439