serializing drupal filter params to send filter categories