Fix for issue 5466 - Indicee-BI_API-Library flips "is" to "is not" for
date filters
When an entities caption is null we don't literally write out "null"
Fixed potential NPE in Table serialization.