I have an array of strings containing the parameters names of a class. I wish to use this array to set the properties on a class representing the input parameters to a rest