add a default widget which pretty prints json for easier editing