Fix the source document should be cast to string before creating an ES bulk request