Templating helper function
Use templating helper function
No need to send the `facets` key to the client
Associated tests
Move test file
Naming
Merge pull request #60 from AnyFetch/refactor-templating

Refactor templating mechanism