add asn integer formatter

Allows storing of asns by integer in the DB.