title: Exception in declaring a json with dynamic values in Jenkinsfile
body: <pre><code>def props = readJSON text: [ 'buildName':"${params.buildName}",   'targetRepo':"${params.artifactoryReleases}"]
  echo props.buildName
  echo props.targetRepo
  </code></pre>
  
  <p>Getting the following error</p>
  
  <blockquote>
    <p>org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class java.lang.String
        at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:265)
        at org.jenkinsci.plugins.structs.describable.DescribableModel.(DescribableModel.java:122)
        at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce(DescribableModel.java:380)</p>
    
    <p>Caused: java.lang.IllegalArgumentException: Could not instantiate {text={buildName=alu-rp, targetRepo=na-generic-releases}} for ReadJSONStep(file?: String, text?: String)
        at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate(DescribableModel.java:264)
        at org.jenkinsci.plugins.workflow.steps.StepDescriptor.newInstance(StepDescriptor.java:201)</p>
  </blockquote>