Fix issue #77: report building was failing if a Key/null pair was added to CUSTOM_DATA