toJSON
Writes this box as [minX, minY, minZ, maxX, maxY, maxZ].
Mirrors three.js toJSON() (which produces { min: min.toArray(), max: max.toArray() }); flattened here since the math layer has no JS object type.
Return
Serialized structure with fields representing the object state.