Added function for endpoint 'fact-names'