Drupal HAP REST functionality