def create_jtr_snippet(jtr_dict, num_instances=1):
    """
    Creates a jack format snippet from SQuAD data.

    Args:
        jtr_dict: jack dictionary
        num_instances: number of (first) instances

    Returns: dictionary in jack format
    """
    out = dict()
    out['meta'] = jtr_dict['meta']
    out['instances'] = jtr_dict['instances'][0:num_instances]
    return out