external database json questions