View\JSON: output from and to as integers, not as strings