made /API/version return JSON