make sure only strings enter into the json