Convert object to to dot notation