api: links index returns a GeoJSON feature collection

Rather than having the feature collection be stored within the response,
one might as well make the response itself a GeoJSON document.