Flask response in JSON data structure.