send paths in JSON as relative to home