Helper class for connecting to the WordPress JSON API