Updated pictureToJSON to remove hyphens