Use a proper JSON parser to extract the version number