Setting right schema for message