Myanmar officials pledge to reform law used to jail journalists