add struct degradation to prepare to jsonify