On the inference of viscoelastic constants from stress relaxation experiments