Use nested encoder in specs because that's what web mock wants