Clarified comment on deploy handler and renamed json type in deploymessage struct