public static function createSerializer()
    {
        $encoders = array(new XmlEncoder(), new JsonEncoder(), new LtsvEncoder());
        $normalizers = array(new GetSetMethodNormalizer());

        return new Serializer($normalizers, $encoders);
    }