replaced my own XMLRPC bridge with JSON API plugin which is much easier to work with
working pagination