Fix json to decomposed endpoint transformation.