Fix go script whenn json is not available