@@ -0,0 +1,317 @@
+#!/usr/bin/env python%0Aimport os%0Aimport sys%0Aimport json%0A%0ASCRIPTS_DIR = '/usr/src/scripts'%0ABUS_ROUTES_FILE = os.path.join(SCRIPTS_DIR, 'routes.txt')%0A%0Aresult = %5B%5D%0A%0Awith open(BUS_ROUTES_FILE, 'r') as fp:%0A    for line in fp:%0A        route_num = line.strip()%0A        result.append(route_num)%0A%0Ajson.dump(result, sys.stdout)%0A

Create helper script to generate bus routes JSON