Extend serialize decorator

serialize decorator return the response directly if already instance of flask.Response