Tornado return dictionary