Removed _id from via field.
Added test to ensure related ids are included if no publish fields are set