Change data structure json