for(let [key,val] in obj){ messageBody = messageBody.replace("{"+ key + "}",val) }
for (let key in obj){ messageBody = messageBody.replace("{"+ key + "}", obj[key]) }