myJsonVar.elements() would return the collection rather than the SPIN object.
see the following for more detailed explanation:
@MichiDahm When it was stored as type json, its a java object its just not a “collection”, so they have to use the .elements() methods on the JSON SPIN object as per above.