A Karma plugin. Convert JSON files into a function to serve them in a script tag