Fix GET endpoint of xform_es

This is quick. Future work may unify the REST API and the use of ES; for now I'm just repairing the intended functionality.