Actually use QJson for Yggdrasil requests
Fix java detection segfault