using lambda with scope to fix warning on specs
using lambda with scope to fix warning on specs

parrish/restpack_serializer,RestPack/restpack_serializer,dtee/restpack_serializer,apsure/restpack_serializer