Created a decorator allowing Flask to return generators just like WSGI does