use a single date formatter across the project

... that includes millis
fix create message with custom params

those params weren't actually being included before
fix issue checking if date was key in dictionary

was using wrong type. doh.