fix json composer functional test