try/catch JSON.parse fails, and strip byte-order mark