adding ability to use interpolated field names for index and type_name values for elasticsearch output