Dictionary converters

This will fix #43