is DOMRect not serializing for you?