Let's let PostGIS do the heavy lifting.
Include distance and arc from point to station when you get JSON.
Use PostGIS-calculated numbers, rather than that nonsense I was doing.