Enable int timestamp for deployment_getLog

Handle cases differently if lastTime is a string or something else