If it was a structure, it would dump in a tabular format, or throw an error it you attempted to output the variable to screen (since it's complex)
Let me ask you, are you using a good browser like Firefox/Chrome? Can you inspect the request and see what the mime type of the content being rendered is? Is this page supposed to output JSON? What browser are you using anyways?