Fix tag serialization (fixes #1)

This fixes two exceptions:

* "Object [object Array] has no method 'split'" when editing a bookmark without changing tags
* "Cannot read property 'length' of undefined" when giving no tags at all