fixed bug which was preventing the auto generate client from properly returning the response from the api method which returns lists of models.