fix export as json array