takes user preferences and creates array to search JSON with