You can buy this project and download/modify it how often you want.
Keys in ctx: #foreach($param in $ctx.internalGetKeys()) $param = $ctx.internalGet($param) #end