cosmetics fix, try/except block for json content