improve ServiceTypeTermRegistry to make it more resource efficient.

HTTP requests are done only once for any given data/format term.
rename variables of ServiceTypeTermRegistry to reflect their type

and add a few comments.