middleware to expose some relatively simple info (version, git sha)