change contains to within

apparently this changed in the implementation.

Also made the json example well formed.