API to programmatically modify a gruntfile