modified facet.customData to get value associated with key