WRITE_JSON_ELEMENT(ObjEnd) {
    ctx->depth--; //decrease depth
    ctx->commaNeeded[ctx->depth] = true;
    return writeChar(ctx, '}');
}
WRITE_JSON_ELEMENT(ObjEnd) {
    ctx->depth--;  
    ctx->commaNeeded[ctx->depth] = true;
    return writeChar(ctx, '}');
}