added getmessage.json endpoint.
Merge pull request #41 from thequbit/master

added getmessage.json endpoint.