Are these activity types/identifiers or unique activity ids? If the former, can you clarify that in the comments. If the latter, how would the function be able to differentiate in transforming the entity data?