29f7a9a210
Having mixed $data in badge exporters is causing some issues. As all these exporters are using $data as an object, $data can be converted to object in the constructor, to avoid errors and get the expected behaviour always.