Don't send dates as ids over ajax