Add support for more complex structures in PAPI calls/replies