add some code to tap into activeModelSerializer