stole json reading from FTB launcher