title: Dataweave error Cannot coerce a :number to a :array
body: <p>I have a situation in which I need to update a field SFDC object from a variable, when doing this i receive an error "Cannot coerce a :number to a :array"  my dataweave script it like </p>
  
  <pre><code>%dw 1.0
  %output application/java
  ---
  payload map
  {
      Id: flowVars.ABC_ID,
      EPPICORE_Id__c: flowVars.HTTP_return_id
  }
  </code></pre>
  
  <p>when I remove payload map from this it throws an error that it should be collection or object, Can anyone help on this ?</p>