first try to generate an object dictionary