Refactor dream message creation
Create utility method to create JSON methods
Merge pull request #3 from nataren/cleanups

Cleanups