class PayloadFormatManager {

    public static PayloadFormatter getPayloadFormat(String name) {
        Preconditions.checkArgument(map.containsKey(name), "Unknown payload format named: " + name);
        return map.get(name);
    }

}