changing toByte to getBytes to fix json output
Merge pull request #202 from hammerlab/issue-197

changing toByte to getBytes to fix json output