1. Remove the trailing comma for the last element of memref and add closing parenthesis. 2. Change integration tests to use the new format.
1. Remove the trailing comma for the last element of memref and add closing parenthesis. 2. Change integration tests to use the new format.