from typing import Dict
import pickle


def serialize_body(body: Dict):
    """
    A default serialize function that serialize items in body.
    This function is implemented using pickle.
    """
    serialized_body = {}
    for key, value in body.items():
        serialized_body[key] = pickle.dumps(value)
    return serialized_body