Implement Collection wrapper class for JSON arrays