halfway hack toward what a more flexible json handler would look like. Corresponds with a changed data structure on my gophercloud branch.