moved tags serialization into tiddler module

alongside the existing deserialization function