parsing json specification