Added support for direct reading JSON from QR code.