Bring deployment json definition into application section

done initial work for [1042]