Fix for node info modal layout added

check for empty object/array layout broken when value is empty

Change-Id: I419d4b991ec10abecf5326b0f0eeb3a3d7aaecf5
Closes-bug: 1311046