started adding custom dictionary key logic to writer.