add parameter to routed functions for the body field in ES

I.e., the tasks will now treat doc['_source'][bodyfield] as the body
of a document, where the bodyfield is given in the URL.