Fix problem with HTTPS and NULL values on JSON import