Add possibility to return data as array

I add option value to make possible receive data as array in method retrieve(). Also I update retrieve() method documentation.