Bar chars data is now comming from DB and returned as well formatted json