added proxy to server and fail back of serving json