Wrap enum values in arrayref (franckcuny/net-http-spore#30)

This resolves the enum issue I reported recently.