output_dict = [record for record in event_json['Records'] if filter_user_events(record)]