Serbia seeks to unblock investment in renewable energy after adopting legislation that opens gas and power markets in line with European Union guidelines.