Added Null checking to StreamItem

Created helper to do Null checks in API helpers.