add asn integer formatter

Allows storing of asns by integer in the DB. 
Is this leftover from debugging? It seems like we either want log.Println or to just return the error