Parse metadata_service_num_attempts & metadata_service_timeout as integers. Fixes #395