Minor changes to json api for quality specifications and test codes