test both geom.toJSON signatures
[publish binary]