Is there any way in drupal to get all primary links through views?
Can you create a hook_menu() and then in the callback do a https://api.drupal.org/api/drupal/includes!menu.inc/function/menu_tree_all_data/7 to get the menu tree and then expose that to services or return  json.