Riak 1.3 requires content-type header as application/json. Otherwise it complains about missing function_clause.