Hi, I've noticed a issue with Map field in ajax calls
Steps to reproduce:
1. Create a custom field type that have an Map property
2. Attach this field type on one entity
3. Attach also a file definition on this entity
4. Save a new entity with data inside the map field
5. Try to edit that entity and attach something on the file field, it will return this error