Validate format of fields used in the routing_key
Set content-type for published messages