Add timestamp to samples.
Fix an issue with nonexistent framework.
Do not dump empty samples into JSON.