Adds foldexpression for yaml