Fix a mem leak in model helper.
Update versions.json