619 enable last modified header on api outputs

closes #619