Rewrite github.py to use JSON to process map data