Changed QR code/Jason key value handling, introduced a map.