Add code to DateSerializer