added json mode and json support in speedbar