add @Key and @Position annotations on fields of classes generated from type declarations