Resource Values working with :
1) only value - object
2) resource instanceID and value - array
3) multiple resource instances - array of array