create facets dynamically from server-response