working on sending/receiving dates in JSON (BROKEN)