get json remotely or locally without configuration