Added the hasOwnProperty check for an array loop and fixed a log statement in the storm topology