Parse logs from Palo Alto firewalls collected with loki and serve them as JSON with Flask