find and serialize the primary key columns in schema dumps