You'll need to use a hashrocket instead of ruby 1.9 style hash's

`{ :data => encoded_data(data) }`