additionalProperties in prim_factory

- properties should be a dict, not list