minor fix for json