Preliminary refactory for client-jsx responses