Added activity IDs for commiting times.
Changed time posting to XML because JSON is being naughty.