AMF - Changed logic used for serializer selection, fixed vector<> for unregistered classes