Preserve the snapToPoints attribute when using JXG.Dump