FIX: access values attr in JSON code to support index that's not an ndarry subclass
Merge pull request #12 from Komnomnomnom/index

JSON fix for non-ndarry index