code: func (ts *LambdaTaskState) MarshalJSON() ([]byte, error) {
  	additionalParams := ts.BaseTask.additionalParams()
  	additionalParams["Resource"] = gocf.GetAtt(ts.lambdaLogicalResourceName, "Arn")
  	return ts.marshalStateJSON("Task", additionalParams)
  }
docs: // MarshalJSON for custom marshalling, since this will be stringified and we need it
  // to turn into a stringified Ref: