JS library to set a property in a nested object from a string path