Updates to support array structure if needed, otherwise show an object.