Fix errors on json for media items
white space fixes