By default rectangles between two keyframes will be interpolated by default. This means, that the position and size of the rectangle will be automatically calculated/adapted. Please note that interpolations are only visual and will not be reflected in your json export.
Other geometry types that rectangles (e.g. polygons, points, lines) are not supported yet.