middleware for journeyman to simplify server sent events