serialize graftpoints