nicer formatting of nested attributes in views.js/formatPopup