dict to extra_fields