fix bad type passed as argument in json get string.