force json response from buildtarget endpoint