exposing json viewer and editor