Cleaned up to pass JSHint
Added tests for json()
Passed json() tests
Merge pull request #10 from diachedelic/master

Add json method to response