added support for posting data as JSON in Bucky