04a14ea
Add an `api` argument to the to_json method of PullRequest The JSON representation of the PullRequest objects do not necessarily need to contain the settings info of the projects, so allow removing it.