[api2] simplify account serializer