serializer.addToMessage(msg, NAME, null, _name);
MutableFudgeMsg mapMsg = serializer.newMessage();
for (Map.Entry<DistinctMarketDataSelector, FunctionParameters> entry : _definitionMap.entrySet()) {
MutableFudgeMsg entryMsg = serializer.newMessage();
DistinctMarketDataSelector selector = entry.getKey();
FunctionParameters parameters = entry.getValue();
serializer.addToMessageWithClassHeaders(entryMsg, SELECTOR, null, selector);
serializer.addToMessageWithClassHeaders(entryMsg, FUNCTION_PARAMETERS, null, parameters);
serializer.addToMessage(mapMsg, null, null, entryMsg);
}
serializer.addToMessage(msg, DEFINITION_MAP, null, mapMsg);