func JSONArrayPath(t T, r *http.Response, dottedPath string) interface{} {
	var value interface{}
	ExpectJSONArray(t, r, func(list []interface{}) {
		value = pathFindIn(0, strings.Split(dottedPath, ".")[1:], list)
	})
	return value
}
JSONArrayPath returns the value found by following the dotted path in a JSON array.
E.g .1.title in  [ {"title":"Go a long way"}, {"title":"scary scala"} ]
package forest
import (
	"net/http"
	"strconv"
	"strings"
)
func JSONPath(t T, r *http.Response, dottedPath string) interface{} {
	var value interface{}
	ExpectJSONHash(t, r, func(doc map[string]interface{}) {
		value = pathFindIn(0, strings.Split(dottedPath, ".")[1:], doc)
	})
	return value
}