add a retry when meta-data with corrupt JSON format
Fixes #1868