Refactored tagging to only take a string or an array of strings.

There's no reason to get into the object serialization just yet -- according to @prestaul and myself.