added serialized request and task to serialize routes