Trying to get server to send path as array of objects