Fix route parsing
Implement GET /tasks/x-y-z; add JSON parsing functions