add JSON timestamp check