JSON suffix now added in buildURL instead of the ajax function

This allows us to assert URLs easier and makes more sense