Fix JSON numerical types.