Refactor todo controller to serialize JSON properly (fixes #2)
Merge pull request #4 from thenickcox/fix_serialization

Refactor todo controller to serialize JSON properly (fixes #3)