Now tidies up javascript-style hash tables