def _get_post_processing(params: dict) -> dict:
    """
    Extract and set defaults for the post processing options
    """
    pp = params.get('post_processing', {})
    # ids_only - shortcut to mark both skips as true and include_highlight as false.
    if pp.get('ids_only') == 1:
        pp['include_highlight'] = 0
        pp['skip_info'] = 1
        pp['skip_data'] = 1
    return pp