       cb err
     else if not spec
       resolveImplicitType node, (err, implicitType) ->
-        cb err, {name: implicitType}
+        cb err, name: implicitType
     else
       cb null, spec
 

# The second approach makes more sense, because counting individual
# nested objects would cause problems with empty "containers", which
# are probably sufficient proof of nested members, but contain zero of them.
containsNestedMemberTypes = (node) ->
  sections = node.sections or []
  memberSections = sections.filter (section) ->


# Helps to identify whether given node is an implicit array.
hasMultipleValues = (node) ->
  !!node.valueDefinition?.values?.length


# Helps to identify whether given node is an implicit object.
