api: properly initialize MultiValueDict from raw dict