Small utility function added to get single nsdictionary inside nsarray

Small utility function added to get single nsdictionary inside nsarray