[-] do not serialize date to string in toJSON function