changing to relative image path in json