Implemented JSON server side for proper timestamp support