Move close of Zenoss.env.ZP_DETAILS=[ outside the try catch so we don't ...

...accidently destroy JSON