 
       async.each payloads, @resolvePayload, (error) =>
         @reconstructResourceGroups result.ast
-        callback error, result
+        callback error or null, result
 
   # Resolve assets of a payload
   resolvePayload: ({payload, actionAttributes}, callback) ->

          role: 'bodySchema'
        content: body

      payload.content.push resolved      

    # For waterfall
    callback null, payload, attributes, contentType

# @param contentType [Object] Payload content type
generateBody = (payload, attributes, contentType, callback) ->
  if not attributes? or not contentType? or payload.body
    return callback null, payload, attributes, contentType

  boutique.represent
    ast: attributes,
