fix type in json