raw2day fix for JSON