Catch exception if getting version returns not json string