Change xml checking to json
Minor fix so "getCurrent()" returns dev if dev is being used