added custom json encoder for datetime objects