Similar Items: Flexible Functional Treatment Effect Estimation