use binary as key to look up item from riak
add response_type checking function