API can accept adn add tasks in JSON format