.[] | {
email,
first_name,
last_name,
barcode,
roles,
library: .library."$ref",
pt: .patron_type."$ref"
}