var Serializer = require("./serialization/serializer").Serializer,
    serialize = require("./serialization/serializer").serialize,
    Deserializer = require("./deserialization/deserializer").Deserializer,
    deserialize = require("./deserialization/deserializer").deserialize;

exports.Serializer = Serializer;
exports.serialize = serialize;

exports.Deserializer = Deserializer;
exports.deserialize = deserialize;
var serializer = require("./serialization/serializer"),
    deserializer = require("./deserialization/deserializer");

exports.Serializer = serializer.Serializer;
exports.serialize = serializer.serialize;

exports.Deserializer = deserializer.Deserializer;
exports.deserialize = deserializer.deserialize;

Make the root requires a bit nicer