Modified datatables so it uses the object itself for form filling