Implemented User#toJSON transformer and tests
Merge pull request #9 from elliottwilliams/ID-42

Implemented User#toJSON transformer and tests