Added array/stdClass choice

Very useful in some situations