correct month evaluation for JSON (starts month counting at 0)