improved db mapper timestamp processing