updates for amazon json packing