JSON.parse has bad is array assert