Add an interactive function to format JSON (thx to Matt Savoie).