JSON return formatting.
JSON formatting bug. Distinguish post/get todo.