light refactoring (in order to remove warnings about ectypes.json)