keying activity type metadata by type id