JSON API integration for Bookshelf