Support points in paths defined as array of 2 coordinates

This format is supported by Leaflet and it is shorter compared to { lat: ..., lng: ... } thus making it more efficient when loading long paths in JSON format.