Added support for Date parameters passed in JSON as long numbers