fix(model/attributes): fix mapping back serial values from postgres inserts with aliased fields