fix for new loans_in out attributes in json