Fixed json responses so that it will work with the windows app