Government vows to reform justice system