Adding user attributes to the directory item serializer

@david I’ve made a PR here
https://github.com/discourse/discourse/pull/8376

cc @angus

5 Likes