JSON parsed array, select only certain elements based on contains rather than ==