minor fixed for json exports