Hackish way to serve static files as JSON