Realized I had made a mistake in the demo code (arrays do not go directly into objects without a key, see the diff)!