splitting up direct JSON API calls and a ruby navigable syntax