Dynamic remplacment in object, inspired by GruntJS config