read json array using the key