turn attributes view into a map for toString in request prelude