small fix for json