REST API: Error on updating entity with dynamic attribute of type Entity

Hi,
I have an Entity (Organization) on which I added a dynamic Attribute of type Entity (another Entity called Attachment). When I try to update an Organization through Rest Api on the default /rest/entities/Organization/{id} route, Jmix throws a JSON Parsing error:

   i.j.r.i.c.RestControllerExceptionHandler : RestAPIException: Cannot deserialize an entity from JSON, 

    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Not a JSON Array: {"id":"4055979e-f77a-e388-cf41-ad6f5621131c","title":"Organigramme","fileRef":"fs://2021/08/24/4eb86f57-3d27-1a58-8e3b-46cf7a372660?name="}
    	at com.google.gson.Gson.fromJson(Gson.java:944) ~[gson-2.8.7.jar:na]
    	at com.google.gson.Gson.fromJson(Gson.java:897) ~[gson-2.8.7.jar:na]
    	at com.google.gson.Gson.fromJson(Gson.java:846) ~[gson-2.8.7.jar:na]
    	at com.google.gson.Gson.fromJson(Gson.java:817) ~[gson-2.8.7.jar:na]
    	at io.jmix.core.impl.serialization.EntitySerializationImpl.entityFromJson(EntitySerializationImpl.java:127) ~[jmix-core-1.0.1.jar:na]

Here is the Http Request Body:

    {
    "id": "04058c7b-6aae-b188-7e5a-5d3f15425ba0",
    "+attachment": {
       "_entityName":"Attachment",
       "_instanceName":"Organigramme",
        "id": "4055979e-f77a-e388-cf41-ad6f5621131c",
        "title": "Organigramme",
        "fileRef": "fs://2021/08/24/4eb86f57-3d27-1a58-8e3b-46cf7a372660?name="
    }
  }

Hi,
Thank you for reporting the problem. We have created an issue

BR,
Iuliia Maistrenko