Restructure params hash to build on itself