diff --git a/bundles/sirix-core/src/main/java/org/sirix/access/ResourceConfiguration.java b/bundles/sirix-core/src/main/java/org/sirix/access/ResourceConfiguration.java index 8ca01b4b1..c5af841a1 100644 --- a/bundles/sirix-core/src/main/java/org/sirix/access/ResourceConfiguration.java +++ b/bundles/sirix-core/src/main/java/org/sirix/access/ResourceConfiguration.java @@ -544,13 +544,12 @@ public static void serialize(final ResourceConfiguration config) throws SirixIOE // Child count. jsonWriter.name(JSONNAMES[16]).value(config.storeChildCount); - jsonWriter.name(JSONNAMES[17]); - jsonWriter.beginObject(); + jsonWriter.name(JSONNAMES[17]).beginObject(); jsonWriter.name(JSONNAMES[18]).value(config.awsStoreInfo.getAwsProfile()); jsonWriter.name(JSONNAMES[19]).value(config.awsStoreInfo.getAwsRegion()); jsonWriter.name(JSONNAMES[20]).value(config.awsStoreInfo.getBucketName()); jsonWriter.name(JSONNAMES[21]).value(config.awsStoreInfo.shouldCreateBucketIfNotExists()); - jsonWriter.endObject(); + jsonWriter.name(JSONNAMES[17]).endObject(); jsonWriter.endObject(); } catch (final IOException e) {