Base serializer on extension