Hi, Franz.
I can't clearly see how it's related to Gluu at the moment. If I got it right, your SP is getting expected attributes from Gluu, but you can't display them correctly using your php code? If that's the case it's bit beyond of our support coverage. Also, this part:
>he attributes set from the IDP does not seem to reflect the needed information
is too vague. What it displays, and what you expect it to display?