Fixes base64 error. Switches to CarFlagEncoder