null check fixes rendering error for Browser tab after sending JSON arrays to ES

Quick fix for an issue I was having in Firefox. I didn't delve too much into the root cause of the problem, but this definitely fixed it for me. Submitting larger JSON objects to ES, incuding array objects, throws an error here and prevents the Browser tab from rendering.