Add properties to string object rather than split to array, add logging