add form params to RestResource