Log objects and arrays correctly

As it is now only `undefined` show up in the console when debugging, e.g:

```
Package		 overriding dependencies	 angular-route undefined
```

With this PR we'll get:

```
Package		 overriding dependencies	 angular-route {"angular":"1.3.4"}
```