Pretty-print GeoJSON output; Fixed upload file validation bug.