code: func NewFromReader(r io.Reader) storage.Store {
  	d := util.NewJSONDecoder(r)
  	var data map[string]interface{}
  	if err := d.Decode(&data); err != nil {
  		panic(err)
  	}
  	return NewFromObject(data)
  }
docs: // NewFromReader returns a new in-memory store from a reader that produces a
  // JSON serialized object. This function is for test purposes.