temporary json solution to rendering messages in d3