fix generated setter/getter code

setters/getters were not conforming to the same tuple format
used by encode_message
Merge pull request #1 from quarkgames/master

fix generated setter/getter code