move log severity formatting to object, and map logs list response to it