fixing json export to prevent bootstrap-calendar expanding events into
the next day