How to map database fields to text & magstripe on cards