Strip empty strings.
Remove references to the insecure redirect.
Don't fail when no JSON can be loaded