Serialisation spec

Spec for serialisation:

- [ ] Point to json
- [ ] Multipoint to json
- [ ] Polyline to json
- [ ] Polygon to json
- [ ] Envelope to json