Fix double-free of 'name' and 'json_url'

See clibs/clib#63