current to json