attempted to fix json for datatables - not successful yet