Write browser-friendly output for various data structures