Make sure the double is a Double. Otherwise, if null the jackson mapping will return an error.