Remove firm requirement for SimpleJSON; add workaround code