added generic cast to Point type
update Export serialization