Support YAML (default), JSON, and Pickle formats, depending on the client's choice