RestClient gem overrides content-type on POST if payload is a
hash. Workaround: stringify the hash explicitly.