Changing keys to Lowercase

Done for db and friends under /api
Pull from upstream