Added a more complete implementation of PDJSONRequestProvider