check for serializeAndDeserializeAnnotation