Make points, rects, and sizes serializable

r? @kmcallister