Object support

Now the method returns an object containing all the attribute retrieved