Please move the call to `serializerFor` to outside of the loop. I dunno if the compiler is smart enough to realize it is constant.