Fix engine definitions to store dicts for shard maps