ensures that the cube "type" attribute of the message is lowercase as cube does not allow you to query on mixed or uppercase types