Fixed MessageProperties serialzation bug.