backend: add returning a raw binary
examples: add example for binary return