Fixes GeoJSON serialization bug.

Code for calculating BBOX element in GeoJSON gave wrong results for
negative coordinate values.