Got an error when hiera file contains an integer

If I put in my hiera
users::base:
  john:
    ensure: present
    uid: 2001

it returns an error because 2001 is not quotted.