Stats processing: dict keys should always be strings for JSON data

Review: http://codereview.adblockplus.org/5182947690807296/