Added a new column (slug) in Bar entity. Added some new functions to get json datas.