fixes #26
Merge pull request #37 from jcgharvey/models

Added the transmit JSON and fixed 26