Asynchronyous JSON API written in Tornado framework