Add string_to_qrcode utility function