Adding Debug info to check if array or object.