Slight change in the annotation REST API

When you get annotations "type" (like a clinical attribute name) is renamed to "attribute". "type" will remain there for the time being, but update your APIs