changes to make it possible to have a variable number of "extra" parameters passed via BuddyPress AJAX calls