A cleaner way to do all this would be:

```javascript
var metadata = req.body.metadata || {},
    description = metadata.description || "",
    tags = metadata.tags || [],
    ..
```

Then you can drop all the if blocks.