improve iteration of spread arg
return object only when Kind is ValueDeclaration ceylon/ceylon-js#438