Added the deconstructor to the php variables.
Added the multifield support, will convert multifield to php array.