Add fieldname key with values list to the record for m2m fields