Evaluating all datatypes except CUSTOM to a string so it can be inserted into elasticsearch.