force-add values for entity.created/lastmod if not in JSON

For some reason these fields always seem to be missing values
when entities get created.
Merge branch 'master' into newfile