swicth from /python urls to /json urls to support Hudson

This patch will switch to using the pure json urls instead of jenkins python friendly json variant. As far as I know the only difference is the representation of booleans. 

This restores Hudson support as the later Hudson versions have removed the python urls.