Simple GeoJSON implementation in PHP