instead of stripping _id before sending to elasticsearch, convert to hex string