title: Python, Need Long Value to be Integer
body: <p>I'm trying to insert a unix timestamp using REST to a webservice.  And when I convert the dictionary I get the value: 1392249600000L  I need this value to be an integer.</p>
  
  <p>So I tried <code>int(1392249600000L)</code> and I get <code>1392249600000L</code>, still a long value.</p>
  
  <p>The reason I need this is because the JSON webservice only accepts timestamsp with milliseconds in them, but when I pass the JSON value with the 'L' in it I get an invalid JSON Primative of value <code>1392249600000L</code> error.<br></p>
  
  <p>Can someone please help me resolve this?  It seems like it should be so easy, but it's driving me crazy!</p>