fix empty array printing "null" in Debug::log
Merge origin/master