support integer(0,1)->boolean json serialization, and added comments field for Messages