corrected structured render to only display docs when "showInfo" is true
fixed base handler to use specified extension as format