Use node query with format option