make one strptime call at import of jsonutil

avoids thread safety issues (Python bug #7980)
Merge pull request #5252 from minrk/strptime-not-threadsafe

make one strptime call at import of jsonutil