given an anonimous object literal, allow extracting interface by looking at the effective types of the values of the properties