Force types to int in json