JSON API for BuddyPress Plugin