Add support for boolean.

As I was trying to add AMQP extensions, I noticed that I couldn't pass in a dictionary with boolean types without adding support.