Refactor how responses are built
Refactor how responses are built

Signed-off-by: Valerian Saliou <d691b9c2718f7451d77666d2dda50423f81cd2b8@valeriansaliou.name>

valeriansaliou/bloom,valeriansaliou/bloom