resty.core.shdict: minor coding style fixes.