check if json param is null