Parse js object paths using both dot and bracket notation. Stringify an array of properties into a valid path.