Factor out some of the code in CustomAnnotationSerializer, make KBPAnnotationSerializer respect the copy annotation. Sadly can't do the same for KryoAnnotationSerializer without breaking backwards compatibility.