Unlike regular functions, POJO function returns plain value instead of `Message<byte[]>` which is inconsistent.