OZP-244 Temporary change to make Jackson serialization possible (the EntityWithId class will be deleted).