make the variables of tokensToObject and tokensToArray more closely mirror their similar functions, combine objectPush and arrayPush into valuePush