fixed json of empty keys hashes