Parts now correctly writes out as objects.