Refactored timestamps to promote created/modified properties to the
parent JSON object.

Simplified JSON memory management for timestamps. Fixed memory leak
from formatted timestamps (thanks valgrind).