minor changes
Fixing issue with cid attribute necessary for unit testing (id never available since no DB in this environment) by updating toJSON method in task model.