Change remote segment format to json