fixes dynamic date json for morris stats